package com.yyq.adms.gf.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

@Entity
@Table(name = "ownlaw")
public class OwnLaw extends BaseEntity  implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2130163682735965409L;
	private String lawName;
	private String majorDep;
	private String majorPerson;
	private String levels;
	
	private String lawCode;
	private String lawYear;
	private String belongPlateFormID;
	private String sentDep;
//	private int isGlobal;
//	private int isHavePatents;
	private int isEnabled;
	
	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
//	private int sourceID;
	@Column(name = "lawname")
	public String getLawName() {
		return lawName;
	}
	public void setLawName(String lawName) {
		this.lawName = lawName;
	}
	@Column(name = "majordep")
	public String getMajorDep() {
		return majorDep;
	}
	public void setMajorDep(String majorDep) {
		this.majorDep = majorDep;
	}
	
	@Column(name = "majorperson")
	public String getMajorPerson() {
		return majorPerson;
	}
	public void setMajorPerson(String majorPerson) {
		this.majorPerson = majorPerson;
	}
	@Column(name = "levels")
	public String getLevels() {
		return levels;
	}
	public void setLevels(String levels) {
		this.levels = levels;
	}
	@Column(name = "lawcode")
	public String getLawCode() {
		return lawCode;
	}
	public void setLawCode(String lawCode) {
		this.lawCode = lawCode;
	}
	@Column(name = "lawyear")
	public String getLawYear() {
		return lawYear;
	}
	public void setLawYear(String lawYear) {
		this.lawYear = lawYear;
	}
	@Column(name = "belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}
	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}
	
	
	
	@Column(name = "isenabled")
	public int getIsEnabled() {
		return isEnabled;
	}
	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}
	
	@Transient
	public String getSentDep() {
		return sentDep;
	}
	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}
	
	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	
}
